package com.miplus.ccrm.admin.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.yulichang.base.MPJBaseService;
import com.miplus.ccrm.admin.controller.vo.DeviceHistReqVo;
import com.miplus.ccrm.admin.controller.vo.DeviceHistResVo;
import com.miplus.ccrm.admin.pojo.SysDeviceHist;
import com.miplus.ccrm.common.CmdResVo;
import com.sun.org.apache.xpath.internal.operations.Bool;

/**
* @author pc
* @description 针对表【sys_audit_log】的数据库操作Service
* @createDate 2024-03-07 10:34:19
*/
public interface SysDeviceHistService extends MPJBaseService<SysDeviceHist> {
    CmdResVo startDevice(String dept, String usrid, String device);

    CmdResVo endDevice(String usrid, String device);

    IPage<DeviceHistResVo> getDeviceHistList(DeviceHistReqVo paras, String usrid);

    Long checkValidDevice(String usrid, String device);
}
